package com.mi.abstractfactory;

import com.mi.simplefactory.Car;

public class Customer {

	private Car car;
	
	public Car getCar() {
		return car;
	}


	public void buyCar(SSSS ssss){
		car = ssss.sellCar();
	}
	
	
	public void drive(){
		car.run();
	}
}
